<html>
<head>
	<script language="javascript" type="text/javascript" src="test.js"></script>
</head>
<body>
	<div onclick="test('dude')">test</div>
</body>
</html>